module.exports = {
    lintOnSave: false,
    configureWebpack: {
        devtool: 'source-map'
    },
    devServer: {
        port: 4000,
        compress: true,
        disableHostCheck: true // That solved it
    },
    chainWebpack: config => {
        const oneOfsMap = config.module.rule('scss').oneOfs.store
        oneOfsMap.forEach(item => {
            item
                .use('sass-resources-loader')
                .loader('sass-resources-loader')
                .options({
                    // Provide path to the file with resources
                    // resources: './src/style/param.scss',
                    // Or array of paths
                    resources: ['./src/style/param.scss']
                })
                .end()
        })
    }
}
